<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가

include_once("$g4[path]/head.sub.php");
include_once("$g4[path]/lib/outlogin.lib.php");
include_once("$g4[path]/lib/poll.lib.php");
include_once("$g4[path]/lib/visit.lib.php");
include_once("$g4[path]/lib/connect.lib.php");
include_once("$g4[path]/lib/popular.lib.php");

//print_r2(get_defined_constants());

// 사용자 화면 상단과 좌측을 담당하는 페이지입니다.
// 상단, 좌측 화면을 꾸미려면 이 파일을 수정합니다.

$table_width = 1004;
?>
	<div id="sageWrap">
		<div id="sageWrap2">

			<!-- 상단비주얼영역 -->
			<div id="visualArea">
				<h1><a href="<?=$domain_www?>"><img src="<?=$domain_www?>/images/common/tit_sagephoto.jpg" alt="s.a.g.e photo" title="" /></a></h1>
				<ul class="lstMainNavi">
					<li><a href="<?=$domain_www?>/bbs/board.php?bo_table=notice"><img src="<?=$domain_www?>/images/common/btn_mainnavi1_<? if($bo_table == 'notice'){?>on<?}else{?>off<?}?>.gif" alt="공지사항" title="공지사항" <? if($bo_table != 'notice'){?>onmouseover="this.src=this.src.replace('_off','_on');" onmouseout="this.src=this.src.replace('_on','_off');"<?}?> /></a></li>
					<li><a href="<?=$domain_www?>/product.php"><img src="<?=$domain_www?>/images/common/btn_mainnavi2_<? if($_SERVER['PHP_SELF'] == '/product.php'){?>on<?}else{?>off<?}?>.gif" alt="상품안내" title="상품안내" <? if($_SERVER['PHP_SELF'] != '/product.php'){?>onmouseover="this.src=this.src.replace('_off','_on');" onmouseout="this.src=this.src.replace('_on','_off');"<?}?> /></a></li>
					<li><a href="<?=$domain_www?>/bbs/board.php?bo_table=photo"><img src="<?=$domain_www?>/images/common/btn_mainnavi3_<? if($bo_table == 'photo'){?>on<?}else{?>off<?}?>.gif" alt="포토갤러리" title="포토갤러리" <? if($bo_table != 'photo'){?>onmouseover="this.src=this.src.replace('_off','_on');" onmouseout="this.src=this.src.replace('_on','_off');"<?}?> /></a></li>
					<li><a href="<?=$domain_www?>/bbs/board.php?bo_table=reservation"><img src="<?=$domain_www?>/images/common/btn_mainnavi4_<? if($bo_table == 'reservation'){?>on<?}else{?>off<?}?>.gif" alt="예약견적문의" title="예약견적문의" <? if($bo_table != 'reservation'){?>onmouseover="this.src=this.src.replace('_off','_on');" onmouseout="this.src=this.src.replace('_on','_off');"<?}?> /></a></li>
					<li><a href="<?=$domain_www?>/bbs/board.php?bo_table=work"><img src="<?=$domain_www?>/images/common/btn_mainnavi5_<? if($bo_table == 'work'){?>on<?}else{?>off<?}?>.gif" alt="작업현황" title="작업현황" <? if($bo_table != 'work'){?>onmouseover="this.src=this.src.replace('_off','_on');" onmouseout="this.src=this.src.replace('_on','_off');"<?}?> /></a></li>
					<li><a href="<?=$domain_www?>/bbs/board.php?bo_table=freeboard"><img src="<?=$domain_www?>/images/common/btn_mainnavi6_<? if($bo_table == 'freeboard'){?>on<?}else{?>off<?}?>.gif" alt="자유게시판" title="자유게시판" <? if($bo_table != 'freeboard'){?>onmouseover="this.src=this.src.replace('_off','_on');" onmouseout="this.src=this.src.replace('_on','_off');"<?}?> /></a></li>
				</ul>
				<div class="clearBoth"></div> <!-- Float bug fix for FF -->
				<hr />
			</div>
			<!-- //상단비주얼영역 -->

			<!-- 컨텐츠영역 -->
			<div id="contentsArea">

				<!-- 좌측컨텐츠영역 -->
				<div id="leftArea">

					<!-- 로그인 -->
					<div id="login">
						
						<?=outlogin("sagephoto_login"); // 외부 로그인 ?>

					</div>
					<!-- //로그인 -->

					<!-- 예약상담문의 -->
					<div id="reservation" class="space30">
						<h2><img src="<?=$domain_www?>/images/common/tit_reservation.gif" alt="예약상담문의" title="" /></h2>
						<p><strong>박소연</strong><br />010-4058-1622</p>
						<hr />
					</div>
					<!-- //예약상담문의 -->

					<!-- 입금안내 -->
					<div id="account" class="space10">
						<h2><img src="<?=$domain_www?>/images/common/tit_account.gif" alt="입금안내" title="" /></h2>
						<p><span>예금주:</span> 박소연<br />우리은행<br /><span>1002-836-129270</span></p>
						<hr />
					</div>
					<!-- //입금안내 -->
					
					<!-- 네이버 블로그 -->
					<div id="blog" class="space10">
						<h2><img src="<?=$domain_www?>/images/common/tit_blog.gif" alt="네이버블로그" title="" /></h2>
						<p><a href="http://blog.naver.com/pparadise" target="_blank">blog.naver.com/<br />ppparadise</a></p>
						<hr />
					</div>
					<!-- //네이버 블로그 -->
				
				</div>
				<!-- //좌측컨텐츠영역 -->
				
				<!-- 메인컨텐츠영역 -->
				<? if($bo_table == 'photo'){?>
				<div id="mainAreaPhoto">
				<? }
				   else{
				?>
				<div id="mainArea">
				<? } ?>